</html><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<import type="js" file="js.jquery" />
<import type="js" file="js.common" />
<import type="css" file="css.global" />
<import type="css" file="css.form" />
<import file="js.My97DatePicker.WdatePicker" />
<script type="text/javascript">
function printTTT(oper){
	if (oper < 10){
		bdhtml=window.document.body.innerHTML;//获取当前页的html代码
		sprnstr="<!--startprint"+oper+"-->";//设置打印开始区域
		eprnstr="<!--endprint"+oper+"-->";//设置打印结束区域
		prnhtml=bdhtml.substring(bdhtml.indexOf(sprnstr)+18); //从开始代码向后取html
		prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));//从结束代码向前取html
		window.document.body.innerHTML=prnhtml;
		window.print();
		window.document.body.innerHTML=bdhtml;
	} else {
		window.print();
	}
}
</script>
</head>
<body>
<div class="search">
<form action="" method="post">
<b>出差统计：</b>
<input type="text" class="Wdate" name="datetime" onClick="WdatePicker({dateFmt:'yyyy-MM'})" value="{$datetime}" />
<input type="submit" value="查询" class="submit" title="查询" >
<input type="button" value="打印" class="button" title="打印" onclick="printTTT(1);" >
</form>
</div>
<!--startprint1-->
<div class="list">
<table class="stripe" cellspacing="0">
    <thead>
        <tr>
            <th width="130px;">编号</th>
            <th>姓名</th>
            <th>部门</th>
            <th>申请日期</th>
            <th>开始时间</th>
            <th>结束时间</th>
            <th>始发地</th>
            <th>目的地</th>
            <th>时长</th>
            <th>交通工具</th>
        </tr>
    </thead>
 
    <tbody>
      <volist name="data" id="vo" empty="$empty">
        <tr>
            <td>{$vo.number}</td>
            <td>{$vo.name}</td>
            <td>{$vo.dept_name}</td>
            <td>{$vo.send_time}</td>
            <td>{$vo.start_time}</td>
            <td>{$vo.end_time}</td>
            <td>{$vo.start_add}</td>
            <td>{$vo.end_add}</td>
            <td>{$vo.count_time}  天</td>
            <td>{$vo.traffic}</td>
        </tr>
      </volist>
    </tbody>
</table>
</div>
<!--endprint1-->
</body>
</html>

<script language="javascript">
$(document).ready(function(){  
	$(".stripe tr").mouseover(function(){    
	  $(this).addClass("over");}).mouseout(function(){   
			$(this).removeClass("over");}) 
  	$(".stripe tr:even").addClass("alt");
});   
</script>  